
//引入mockjs模块
import Mock from 'mockjs'
//引入JSON数据(json数据没有对外暴露，可以引入，默认暴露)
import banner from '../mock/banner.json' //轮播图
import floor from '../mock/floor.json'
import address from '../mock/address.json'

// 提供广告位轮播数据的接口
Mock.mock('/mock/banner',{
    code: 200,
    data: banner
})

// 提供所有楼层数据的接口
Mock.mock('/mock/floor',{
    code: 200,
    data: floor
})

Mock.mock('/mock/address',{
    code: 200,
    data: address
})


